<?php
namespace Apps\Common\Models;
/**
 * 首页推荐美丽宝典Model
 * @author     chenxiaolin
 * @date        2016年1月19日
 * @version     2.0.0
 * @copyright   Copyright 2016 meelier.com
 */
class CosPointCanon extends \PhalconPlus\Database\Model{
	public $id;
	public $canon_id;
	public $open_city_id;
	public $sort;

	public function getSource()
	{
		return 'cos_point_canon';
	}

	public static function find($parameters = null)
	{
		return parent::find($parameters);
	}

	public static function findFirst($parameters = null)
	{
		return parent::findFirst($parameters);
	}

	public function columnMap()
	{
		return array(
				'id' => 'id',
				'canon_id' => 'canon_id',
				'open_city_id' => 'open_city_id',
				'sort' => 'sort'
		);
	}
	public function defaultColumns()
	{
		return [
				'id',
		];
	}

}